Go to the source code of this file.
Namespaces | |
| namespace | eStudy::PhotoGallery |
Functions | |
| mergePhotoRights (&$to, &$from) | |
| testPhotoRight (&$rights, $rightname) | |
| echoRightsSelectors ($prefix, $photo_view, $photo_upload, $photo_edit, $photo_delete, $photo_admin) | |
| echoGalleryRightsSelectors ($prefix, $photo_upload, $photo_edit, $photo_remove) | |
| getGalleryRight ($rightname) | |
| getAlbumRight ($rightname, $albumid) | |
| echoGalleryRightsSelectors | ( | $ | prefix, | |
| $ | photo_upload, | |||
| $ | photo_edit, | |||
| $ | photo_remove | |||
| ) |
Definition at line 131 of file class.photofunctions.inc.php.
| echoRightsSelectors | ( | $ | prefix, | |
| $ | photo_view, | |||
| $ | photo_upload, | |||
| $ | photo_edit, | |||
| $ | photo_delete, | |||
| $ | photo_admin | |||
| ) |
Definition at line 114 of file class.photofunctions.inc.php.
| getAlbumRight | ( | $ | rightname, | |
| $ | albumid | |||
| ) |
Verwendet die Funktion testPhotoRight, aber holt vorher die Rechte für den aktuellen Kurs und des angegebenen Albums aus der Datenbank
Definition at line 183 of file class.photofunctions.inc.php.
| getGalleryRight | ( | $ | rightname | ) |
Verwendet die Funktion testPhotoRight, aber holt vorher die Rechte für den aktuellen Kurs aus der Datenbank
Definition at line 175 of file class.photofunctions.inc.php.
| mergePhotoRights | ( | &$ | to, | |
| &$ | from | |||
| ) |
Diese Funktion mischt 2 Rechte aus der Datenbank
Definition at line 35 of file class.photofunctions.inc.php.
| testPhotoRight | ( | &$ | rights, | |
| $ | rightname | |||
| ) |
Liefert true, wenn das angegebene Recht im übergebenen Objekt vorhanden ist, oder der User ein Portaladmin, Student oder Dozent ist.
Definition at line 48 of file class.photofunctions.inc.php.
1.5.8